@layout("/common/_container.html"){
<script src="${ctxPath}/static/js/plugins/suggest/bootstrap-suggest.js"></script>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="patorlInfoForm">

            <div class="row">
                <div class="col-sm-6">
                     <#select id="storeyId" name="选择办公楼" underline="true">
                        @for(s in list){
                        <option value="${s.id}">${s.name}</option>
                        @}
                    </#select>
                </div>
                <div class="col-sm-6">
                    <#select id="type" name="选择巡视区域类型" underline="true">

                    </#select>
                </div>
                <div class="col-sm-6 hidden-md hidden-lg">
                    <#select id="pareaId" name="选择巡视区域" underline="true">

                     </#select>
                </div>
                <div class="col-sm-6 hidden-xs">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">选择巡视区域</label>
                        <div class="col-sm-9">
                            <div class="input-group">
                                <input type="text" class="form-control" id="pareaSuggest" name="pareaSuggest">
                                <input type="hidden" class="form-control" id="pareaId" name="pareaId">
                                <div class="input-group-btn">
                                    <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">
                                        <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu dropdown-menu-right" role="menu">
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <#input id="remark" name="巡视结果" underline="true"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="PatrolInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="PatrolInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/patrol/patrol_info.js"></script>
@}
